package com.sky.mapper;



import com.sky.entity.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * @author LE
 */
@Mapper
public interface ShoppingCartMapper {

    /**
     * 动态条件查询
     * @param shoppingCart
     * @return
     */
    List<ShoppingCart> list(ShoppingCart shoppingCart);

    void updateById(ShoppingCart cart);

    void insert(ShoppingCart shoppingCart);


    void delete(ShoppingCart shoppingCart);


}
